<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>幸运大抽奖</title>
  <link rel="stylesheet" href="./style.css">
</head>
<body>
  <div class="container">
    <h1>🎉 幸运大抽奖 🎉</h1>
    
    <div class="input-section">
      <textarea 
        id="participants"
        placeholder="请输入参与者名单，每行一个名字"
        rows="8"
      ></textarea>
    </div>

    <div class="controls">
      <button id="drawButton" onclick="startLottery()">开始抽奖</button>
      <div id="result" class="result-box"></div>
    </div>

    <div class="history-section">
      <h3>中奖记录</h3>
      <ul id="historyList"></ul>
    </div>
  </div>

  <script src="./app.js"></script>
</body>
</html>